import { defineComponent, ref } from 'vue'
export default defineComponent({
  props: {
    num: String
  },
  emits: [],
  setup(props, ctx) {
    const arr = ref(['1', '2', '3'])
    const input = ref('1231')
    return () => (
      <>
        {arr.value.map((item, index) => (
          <div class="main_main" key={index}>
            <span>{item}</span>
          </div>
        ))}
        <div>{props.num}</div>
        <div>{ input.value }</div>
        <el-input  placeholder="Please input" v-model={input.value} />
      </>
    )
  }
})
